home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / misc / ispell31.lha / ispell-3.1.18src / languages / espanol / Makefile < prev   
Makefile  |  1995-01-23  |  4KB  |  126 lines

  1. #
  2. # $Id: Makefile,v 1.1 1994/12/28 01:03:54 geoff Exp $
  3. #
  4. # Copyright 1993, Geoff Kuenning, Granada Hills, CA
  5. # All rights reserved.
  6. #
  7. # Redistribution and use in source and binary forms, with or without
  8. # modification, are permitted provided that the following conditions
  9. # are met:
  10. #
  11. # 1. Redistributions of source code must retain the above copyright
  12. #    notice, this list of conditions and the following disclaimer.
  13. # 2. Redistributions in binary form must reproduce the above copyright
  14. #    notice, this list of conditions and the following disclaimer in the
  15. #    documentation and/or other materials provided with the distribution.
  16. # 3. All modifications to the source code must be clearly marked as
  17. #    such.  Binary redistributions based on modified source code
  18. #    must be clearly marked as modified versions in the documentation
  19. #    and/or other materials provided with the distribution.
  20. # 4. All advertising materials mentioning features or use of this software
  21. #    must display the following acknowledgment:
  22. #      This product includes software developed by Geoff Kuenning and
  23. #      other unpaid contributors.
  24. # 5. The name of Geoff Kuenning may not be used to endorse or promote
  25. #    products derived from this software without specific prior
  26. #    written permission.
  27. #
  28. # THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
  29. # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  30. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  31. # ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
  32. # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  33. # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  34. # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36. # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  37. # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  38. # SUCH DAMAGE.
  39. #
  40. # This makefile is an example of how you might write a makefile for a
  41. # simple language which has only a single dictionary available.  For
  42. # an example of a complex makefile, look at the makefile for English.
  43. #
  44. # $Log: Makefile,v $
  45. # Revision 1.1  1994/12/28  01:03:54  geoff
  46. # Initial revision
  47. #
  48. # Revision 1.6  1994/02/07  06:07:57  geoff
  49. # Add a dummy else clause to shell if-test for Ultrix
  50. #
  51. # Revision 1.5  1994/01/25  07:12:44  geoff
  52. # Get rid of all old RCS log lines in preparation for the 3.1 release.
  53. #
  54. #
  55.  
  56. SHELL = /bin/sh
  57. MAKE = make
  58.  
  59. PATHADDER    =    ../..
  60. BUILDHASH    =    buildhash
  61. UNSQ        =    unsq
  62. FIX8BIT        =    fix8bit
  63.  
  64. #
  65. # The following variables make it easy to adapt this Makefile to
  66. # numerous languages.
  67. #
  68. LANGUAGE    =    espanol
  69. DICTIONARY    =    $(LANGUAGE).words
  70. HASHFILE    =    $(LANGUAGE).hash
  71.  
  72. #
  73. # The following variables may be overridden by the superior Makefile,
  74. # based on the LANGUAGES variable in config.X.
  75. #
  76. AFFIXES    =    ./$(LANGUAGE).aff
  77.  
  78. all:    $(HASHFILE)
  79.  
  80. $(HASHFILE):    $(AFFIXES) $(DICTIONARY)
  81.     rm -f $(HASHFILE)
  82.     munchlist -v -l $(AFFIXES) $(DICTIONARY) > $(LANGUAGE).words+
  83.     $(BUILDHASH) $(LANGUAGE).words+ $(AFFIXES) $(HASHFILE)
  84.  
  85. build:
  86.     $(BUILDHASH) -s $(LANGUAGE).words+ $(AFFIXES) $(HASHFILE)
  87.  
  88. $(LANGUAGE)-alt.aff:    $(LANGUAGE)-alt.7bit $(FIX8BIT)
  89.     $(FIX8BIT) -8 < $(LANGUAGE)-alt.7bit > $(LANGUAGE)-alt.aff
  90.  
  91. #
  92. #    The following dependency can be executed when ispell is unpacked,
  93. #    to unpack the dictionaries.
  94. #
  95. unpack:    $(AFFIXES)
  96.  
  97. $(UNSQ):
  98.     set +e; \
  99.     if [ ! -x $(UNSQ) ]; \
  100.     then \
  101.         set -e; \
  102.         cd ../..; \
  103.         $(MAKE) unsq; \
  104.     else \
  105.         : ; \
  106.     fi
  107.  
  108. clean:
  109.     rm -f core *.hash *.stat *.cnt
  110.  
  111. #
  112. #    The following target is used in the English makefile, and is
  113. #    required to be present in all other language Makefiles as
  114. #    well, even though it doesn't have to do anything in those
  115. #    directories.
  116. #
  117. kitclean:
  118.  
  119. #
  120. #    The following target is used in the English makefile, and is
  121. #    required to be present in all other language Makefiles as
  122. #    well, even though it doesn't have to do anything in those
  123. #    directories.
  124. #
  125. dictclean:
  126.